package it.valeandre.omino.utils;

import android.util.Pair;

/**
 * Created by Getta on 02/02/14.
 */
public class TypedPair<F,S> extends Pair{

    public TypedPair(Object first, Object second) {
        super(first, second);
    }

    public EventType getEventType() {
        return eventType;
    }

    public void setEventType(EventType eventType) {
        this.eventType = eventType;
    }

    public static enum MatchType {
        HOME, AWAY
    }

    public static enum EventType {
        YELLOW, RED, GOAL
    }

    private MatchType matchType;

    private EventType eventType;

    public MatchType getMatchType() {
        return matchType;
    }

    public void setMatchType(MatchType matchType) {
        this.matchType = matchType;
    }

    public String getMinute() {
        return (String) first;
    }

    public String getAuthor() {
        return (String) second;
    }
}
